import { NgModule } from '@angular/core';
import { BasicSettingRoutingModule } from './basic-setting-routing.module';
import { SharedModule } from 'src/app/shared/shared.module';
import { ClainImageUploadComponent } from 'src/app/components/clain-image-upload/clain.imageUpload.component';
import { CPComponent } from './cp';
import { GuideMgmtComponent } from './guideMgmt';
import { CPDelComponent } from './cp/cpDel';
import { Provider } from '@angular/compiler/src/core';
import { GetStatusPipe, GetOrderStatusPipe, GetTransactionStatusPipe, GetUserStatusPipe } from 'src/app/core/pipe/pipe-server';
import { GuideAddComponent } from './guideMgmt/guideAdd';
import { DatePipe } from '@angular/common';
import { UsersComponent } from './users';
import { TravelAgencyComponent } from './travelAgency';
import { TravelAgencyAddComponent } from './travelAgency/travelAgencyAdd';
import { OrdersComponent } from './order';
import { TransactionsComponent } from './transactions';
import { GuideDetailComponent } from './guideMgmt/guideDetail';
import { TravelAgencyDetailComponent } from './travelAgency/travelAgencyDetail';
import { RechargeComponent } from './recharge';
import { AddRechargeComponent } from './recharge/add';
import { UserAddComponent } from './users/userAdd';
import { UserLogComponent } from './users/userLog';
import { ClainWeekTimeComponent } from 'src/app/components/weekTime/clain.weekTime.component';
import { ClassifyMgmtComponent } from './classify/classify';
import { ClassifyAddComponent } from './classify/classifyAdd';
import { ClainHeaderCropperComponent } from 'src/app/components/clain-header-cropper/clain-header-cropper';

export const DINER_COMPONENTS: Provider[] = [GetStatusPipe, GetOrderStatusPipe, GetTransactionStatusPipe,GetUserStatusPipe];

@NgModule({
  declarations: [
    [DINER_COMPONENTS],
    TransactionsComponent,
    RechargeComponent,
    OrdersComponent,
    UsersComponent,
    CPComponent,
    AddRechargeComponent,
  ClainImageUploadComponent,
  ClainHeaderCropperComponent,
  ClassifyMgmtComponent,
  ClassifyAddComponent,
	ClainWeekTimeComponent,
    CPDelComponent,
    GuideMgmtComponent,
    GuideAddComponent,
    TravelAgencyComponent,
	TravelAgencyAddComponent,
	GuideDetailComponent,
	TravelAgencyDetailComponent,
	UserAddComponent,
	UserLogComponent
  ],
  imports: [
    BasicSettingRoutingModule,
    SharedModule,
  ],
  providers: [DatePipe]
})
export class BasicSettingModule { }